export function fillzero(n){
  return n <10 ? '0' + n: '' + n;
}

export const date = time => {
  let d = new Date();
  d.setTime(time)
  let year = d.getFullYear();
  let month = d.getMonth() + 1;
  let date = d.getDate();
  return `${year}年${fillzero(month)}月${fillzero(date)}日`
}